package com.baidu.fd1931springbootdemo.dao;

import com.baidu.fd1931springbootdemo.bean.ListOfPlayers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ListOfPlayersDao {
//      查所有
    List<ListOfPlayers> findAll();

    /*
    更新
     */
    void upDate(ListOfPlayers listOfPlayers);

//    增加
    void incRease(ListOfPlayers listOfPlayers);

//    删除
    void delete(int id);
}
